package com.jimster.logger
{
	import flash.utils.describeType;

	public class Logger
	{
		//Variables
		private static var _instance:Logger;
		
		//Constructor
		public function Logger( $enforcer:SingletonEnforcer )
		{
		}
		
		public static function get instance():Logger
		{
			if( Logger._instance == null )
			{
				Logger._instance = new Logger( new SingletonEnforcer );
			}
			return Logger._instance;
		}
		
		//Public methods
		public function status( $trace:* = null ):void
		{
			trace( describeType( $trace ).toXMLString() );
		}
		
		//Private methods
		private function format( $trace:* = null, $type:String = "" ):String
		{
			return new String;
		}
	}
}

class SingletonEnforcer{};